<?php
require_once '../config.inc.php';
require_once 'eleontev/Dir/MyDir.php'; 
require_once 'CompareLang.php';



// get all available langs
//$lang_array = CompareLang::getLangs();

// or set lang
//$lang_array = array('es');

// or lang in config
$lang_array = array($conf['lang']);

foreach($lang_array as $v) {
	
	$c = new CompareLang($v); 
	
	// get missed files
	$c->getMissedFiles();
	
	// get missed fields
	$c->getMissedFields();
	
	// get equal fields
	$c->getEqualValues();	
	
	echo $c->getHTML();
	//echo "<pre>"; print_r($c->diff); echo "</pre>";
}
?>